package com.axend.aerosense.dev.entity;

import com.axend.aerosense.base.bean.BaseDevInfoBean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class DevRadarSettingBean extends BaseDevInfoBean {

    //报警延时
    private int alarmDelay;
    // 工作距离
    private float workingDistance;
    // 安装高度
    private float installationHeight;
    //雷达类型名称
    private String radarType;
    //雷达id
    private String radarUuid;
    //雷达类型
    private int type;

    /**
     * WAVVE雷达设置参数
     */

    //雷达安装模式1：床头  2-顶部
    private int installMode;
    //安装高度
    private float installHeight;


    public DevRadarSettingBean(int alarmDelay, float workingDistance, float installationHeight, String radarType, String radarUuid, int type) {
        this.alarmDelay = alarmDelay;
        this.workingDistance = workingDistance;
        this.installationHeight = installationHeight;
        this.radarType = radarType;
        this.radarUuid = radarUuid;
        this.type = type;
    }

    public DevRadarSettingBean(String radarType, String radarUuid, int installMode, float installHeight, int type) {
        this.radarType = radarType;
        this.radarUuid = radarUuid;
        this.installMode = installMode;
        this.installHeight = installHeight;
        this.type = type;
    }
}
